package edu.towson.cosc.cosc455.jyoun.project1;

import edu.towson.cosc.cosc455.interfaces.SyntaxAnalyzer;

public class MySyntaxAnalyzer implements SyntaxAnalyzer {

	private MyLexicalAnalyzer lexer;
	
	@Override
	public void document() throws CompilerException {
		
		if(!MyCompiler.token.equalsIgnoreCase("#Start Document"));{
			String message = "A #Start Document annotation was expected when a" + MyCompiler.token +" was found!";
			throw new CompilerException(message);
		}
		
		lexer.getNextToken();
		
		body();
		
		if(!MyCompiler.token.equalsIgnoreCase("#End Document"));{
			String message = "A #End Document annotation was expected when a" + MyCompiler.token +" was found!";
			throw new CompilerException(message);
		}
	}
	public void body() throws CompilerException {
		// TODO Auto-generated method stub

	}
	@Override
	public void head() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void title() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void paragraph() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void bold() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void italics() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void list() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void item() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void audio() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void video() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void define() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void use() throws CompilerException {
		// TODO Auto-generated method stub

	}

}
